
#import "UINavigationItem+InfoButton.h"
#import "HelpViewController.h"
#import "UIViewController+ModalWithNavBar.h"

@implementation UINavigationItem (InfoButton)

-(void)addInfoButtonWithTarget:(id)target action:(SEL)action {
    UIBarButtonItem *infoBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:_(@"Info") style:UIBarButtonItemStylePlain target:target action:action];
    infoBarButtonItem.accessibilityLabel = _(@"Information");
    self.rightBarButtonItem = infoBarButtonItem;
}

@end
